package com.zhiying.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import java.io.Serializable;

/**
 * 
 * 项目名称：morning-administrator-facade   
 * 类名称：RoleMenu   
 * 类描述：RoleMenu / 角色权限关联表 实体类   
 * 创建人：陈星星   
 * 创建时间：2017年3月31日 下午5:36:45   
 *
 */
@Entity
@Table(name="cms_role_menu",catalog="pussinboots_morning")
public class RoleMenu  {
	private static final long serialVersionUID = 1L;
    
	/**
	 * 角色权限编号
	 */
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name = "role_menu_id", nullable = false)
	private Long roleMenuId;
	/**
	 * 角色编号
	 */
	@Column(name = "role_id", nullable = false)
	private Long roleId;
	/**
	 * 权限编号
	 */
	@Column(name = "menu_id", nullable = false)
	private Long menuId;
	/**
	 * 创建时间
	 */
	@Column(name = "create_time", nullable = false)
	private Date createTime;
	/**
	 * 创建者
	 */
	@Column(name = "create_by", nullable = false)
	private String createBy;


	public Long getRoleMenuId() {
		return roleMenuId;
	}

	public void setRoleMenuId(Long roleMenuId) {
		this.roleMenuId = roleMenuId;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public Long getMenuId() {
		return menuId;
	}

	public void setMenuId(Long menuId) {
		this.menuId = menuId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	

}
